<template>
    <div class="welcome" :class="{hide:hide}">
        <img src="./qidong.jpg" alt="">
    </div>
</template>

<script>
export default {
  data() {
    return {
      hide: false
    };
  },
  mounted() {
    setTimeout(() => {
      this.hide = true;
    },3000);
  }
};
</script>

<style>
/* 被注释掉的样式不适合部分安卓机 */
.welcome {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    background: #000b17;
    animation: welcome 0.5s;
    transition: 0.3s;
    -webkit-transition: 0.3s;
 /*    -webkit-animation: welcome 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s; */
}
.welcome img {
    width: 100%;
}
</style>